package com.health.userbackstage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author ASUS
 * @Date 2023/8/18 20:51
 * @Version 1.0
 */
@Data
public class User {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private Date birthday;
    private String gender;
    private String username;
    private String password;
    private String remark;
//    数据库限制一字符 用途不明
    private String station;
    private String telephone;
    private Integer deleted;
    @Version
    private Integer version;

    @TableField(exist = false)
    private List<String> roles;



}
